"""
# coding     : utf-8 
# Time       : 2025/6/9 11:32
# Author     : chenxianb
# version    : python 3.8.2
# Description: 定向获取第一页的大学排名并保存到Excel中
"""
from get_university import getHTMLText
from get_university import getData
from get_university import writeToExcel

url = "https://www.shanghairanking.cn/rankings/bcur/202511"

html = getHTMLText(url)
lst = getData(html)
writeToExcel(lst)